package com.lcz.mytest.domain;

import java.util.List;

/**
 * Created by Administrator on 2016/4/1.
 */
public class StockList {

    /**
     * error_code : 0
     * reason : SUCCESSED!
     * result : {"totalCount":"1798","page":"1","num":"20","data":[{"symbol":"sz000001","name":"平安银行","trade":"10.61","pricechange":"-0.030","changepercent":"-0.282","buy":"10.61","sell":"10.62","settlement":"10.64","open":"10.62","high":"10.69","low":"10.60","volume":98484,"amount":104836697,"code":"000001","ticktime":"10:23:00"},{"symbol":"sz000002","name":"万  科Ａ","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"24.43","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000002","ticktime":"10:23:00"},{"symbol":"sz000004","name":"国农科技","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"36.83","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000004","ticktime":"10:23:00"},{"symbol":"sz000005","name":"世纪星源","trade":"7.51","pricechange":"-0.160","changepercent":"-2.086","buy":"7.51","sell":"7.52","settlement":"7.67","open":"7.66","high":"7.67","low":"7.47","volume":75804,"amount":57217634,"code":"000005","ticktime":"10:23:00"},{"symbol":"sz000006","name":"深振业Ａ","trade":"8.21","pricechange":"-0.090","changepercent":"-1.084","buy":"8.20","sell":"8.21","settlement":"8.30","open":"8.26","high":"8.34","low":"8.20","volume":39704,"amount":32757555,"code":"000006","ticktime":"10:23:00"},{"symbol":"sz000007","name":"全新好","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"23.79","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000007","ticktime":"10:23:00"},{"symbol":"sz000008","name":"神州高铁","trade":"10.68","pricechange":"-0.130","changepercent":"-1.203","buy":"10.68","sell":"10.69","settlement":"10.81","open":"10.76","high":"10.82","low":"10.61","volume":40328,"amount":43194971,"code":"000008","ticktime":"10:23:00"},{"symbol":"sz000009","name":"中国宝安","trade":"13.45","pricechange":"-0.280","changepercent":"-2.039","buy":"13.45","sell":"13.46","settlement":"13.73","open":"13.65","high":"13.67","low":"13.38","volume":239042,"amount":322871950,"code":"000009","ticktime":"10:23:00"},{"symbol":"sz000010","name":"深华新","trade":"8.33","pricechange":"0.000","changepercent":"0.000","buy":"8.32","sell":"8.33","settlement":"8.33","open":"8.35","high":"8.40","low":"8.29","volume":20407,"amount":17044598,"code":"000010","ticktime":"10:23:00"},{"symbol":"sz000011","name":"深物业A","trade":"13.85","pricechange":"-0.380","changepercent":"-2.670","buy":"13.85","sell":"13.86","settlement":"14.23","open":"14.16","high":"14.16","low":"13.68","volume":42782,"amount":59468593,"code":"000011","ticktime":"10:23:00"},{"symbol":"sz000012","name":"南  玻Ａ","trade":"10.67","pricechange":"-0.210","changepercent":"-1.930","buy":"10.67","sell":"10.68","settlement":"10.88","open":"10.88","high":"10.88","low":"10.59","volume":58330,"amount":62415943,"code":"000012","ticktime":"10:23:00"},{"symbol":"sz000014","name":"沙河股份","trade":"17.83","pricechange":"-0.240","changepercent":"-1.328","buy":"17.83","sell":"17.88","settlement":"18.07","open":"17.95","high":"18.19","low":"17.70","volume":12444,"amount":22300402,"code":"000014","ticktime":"10:23:00"},{"symbol":"sz000016","name":"深康佳Ａ","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"5.10","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000016","ticktime":"10:23:00"},{"symbol":"sz000017","name":"深中华A","trade":"12.37","pricechange":"-0.120","changepercent":"-0.961","buy":"12.36","sell":"12.37","settlement":"12.49","open":"12.55","high":"12.66","low":"12.30","volume":34813,"amount":43429268,"code":"000017","ticktime":"10:23:00"},{"symbol":"sz000018","name":"神州长城","trade":"49.00","pricechange":"-0.620","changepercent":"-1.249","buy":"49.00","sell":"49.09","settlement":"49.62","open":"48.92","high":"49.38","low":"48.03","volume":22341,"amount":108838920,"code":"000018","ticktime":"10:23:00"},{"symbol":"sz000019","name":"深深宝Ａ","trade":"16.83","pricechange":"-0.460","changepercent":"-2.660","buy":"16.82","sell":"16.83","settlement":"17.29","open":"17.01","high":"17.10","low":"16.60","volume":64176,"amount":108210152,"code":"000019","ticktime":"10:23:00"},{"symbol":"sz000020","name":"深华发Ａ","trade":"23.40","pricechange":"-0.500","changepercent":"-2.092","buy":"23.40","sell":"23.41","settlement":"23.90","open":"23.92","high":"23.92","low":"23.25","volume":12933,"amount":30386333,"code":"000020","ticktime":"10:23:00"},{"symbol":"sz000021","name":"深科技","trade":"9.01","pricechange":"-0.220","changepercent":"-2.384","buy":"9.01","sell":"9.02","settlement":"9.23","open":"9.14","high":"9.15","low":"8.95","volume":107517,"amount":97250339,"code":"000021","ticktime":"10:23:00"},{"symbol":"sz000022","name":"深赤湾Ａ","trade":"16.75","pricechange":"-0.430","changepercent":"-2.503","buy":"16.74","sell":"16.75","settlement":"17.18","open":"17.13","high":"17.13","low":"16.60","volume":15530,"amount":26121054,"code":"000022","ticktime":"10:23:00"},{"symbol":"sz000023","name":"深天地Ａ","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"30.53","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000023","ticktime":"10:23:00"}]}
     */

    private int error_code;
    private String reason;
    /**
     * totalCount : 1798
     * page : 1
     * num : 20
     * data : [{"symbol":"sz000001","name":"平安银行","trade":"10.61","pricechange":"-0.030","changepercent":"-0.282","buy":"10.61","sell":"10.62","settlement":"10.64","open":"10.62","high":"10.69","low":"10.60","volume":98484,"amount":104836697,"code":"000001","ticktime":"10:23:00"},{"symbol":"sz000002","name":"万  科Ａ","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"24.43","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000002","ticktime":"10:23:00"},{"symbol":"sz000004","name":"国农科技","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"36.83","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000004","ticktime":"10:23:00"},{"symbol":"sz000005","name":"世纪星源","trade":"7.51","pricechange":"-0.160","changepercent":"-2.086","buy":"7.51","sell":"7.52","settlement":"7.67","open":"7.66","high":"7.67","low":"7.47","volume":75804,"amount":57217634,"code":"000005","ticktime":"10:23:00"},{"symbol":"sz000006","name":"深振业Ａ","trade":"8.21","pricechange":"-0.090","changepercent":"-1.084","buy":"8.20","sell":"8.21","settlement":"8.30","open":"8.26","high":"8.34","low":"8.20","volume":39704,"amount":32757555,"code":"000006","ticktime":"10:23:00"},{"symbol":"sz000007","name":"全新好","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"23.79","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000007","ticktime":"10:23:00"},{"symbol":"sz000008","name":"神州高铁","trade":"10.68","pricechange":"-0.130","changepercent":"-1.203","buy":"10.68","sell":"10.69","settlement":"10.81","open":"10.76","high":"10.82","low":"10.61","volume":40328,"amount":43194971,"code":"000008","ticktime":"10:23:00"},{"symbol":"sz000009","name":"中国宝安","trade":"13.45","pricechange":"-0.280","changepercent":"-2.039","buy":"13.45","sell":"13.46","settlement":"13.73","open":"13.65","high":"13.67","low":"13.38","volume":239042,"amount":322871950,"code":"000009","ticktime":"10:23:00"},{"symbol":"sz000010","name":"深华新","trade":"8.33","pricechange":"0.000","changepercent":"0.000","buy":"8.32","sell":"8.33","settlement":"8.33","open":"8.35","high":"8.40","low":"8.29","volume":20407,"amount":17044598,"code":"000010","ticktime":"10:23:00"},{"symbol":"sz000011","name":"深物业A","trade":"13.85","pricechange":"-0.380","changepercent":"-2.670","buy":"13.85","sell":"13.86","settlement":"14.23","open":"14.16","high":"14.16","low":"13.68","volume":42782,"amount":59468593,"code":"000011","ticktime":"10:23:00"},{"symbol":"sz000012","name":"南  玻Ａ","trade":"10.67","pricechange":"-0.210","changepercent":"-1.930","buy":"10.67","sell":"10.68","settlement":"10.88","open":"10.88","high":"10.88","low":"10.59","volume":58330,"amount":62415943,"code":"000012","ticktime":"10:23:00"},{"symbol":"sz000014","name":"沙河股份","trade":"17.83","pricechange":"-0.240","changepercent":"-1.328","buy":"17.83","sell":"17.88","settlement":"18.07","open":"17.95","high":"18.19","low":"17.70","volume":12444,"amount":22300402,"code":"000014","ticktime":"10:23:00"},{"symbol":"sz000016","name":"深康佳Ａ","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"5.10","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000016","ticktime":"10:23:00"},{"symbol":"sz000017","name":"深中华A","trade":"12.37","pricechange":"-0.120","changepercent":"-0.961","buy":"12.36","sell":"12.37","settlement":"12.49","open":"12.55","high":"12.66","low":"12.30","volume":34813,"amount":43429268,"code":"000017","ticktime":"10:23:00"},{"symbol":"sz000018","name":"神州长城","trade":"49.00","pricechange":"-0.620","changepercent":"-1.249","buy":"49.00","sell":"49.09","settlement":"49.62","open":"48.92","high":"49.38","low":"48.03","volume":22341,"amount":108838920,"code":"000018","ticktime":"10:23:00"},{"symbol":"sz000019","name":"深深宝Ａ","trade":"16.83","pricechange":"-0.460","changepercent":"-2.660","buy":"16.82","sell":"16.83","settlement":"17.29","open":"17.01","high":"17.10","low":"16.60","volume":64176,"amount":108210152,"code":"000019","ticktime":"10:23:00"},{"symbol":"sz000020","name":"深华发Ａ","trade":"23.40","pricechange":"-0.500","changepercent":"-2.092","buy":"23.40","sell":"23.41","settlement":"23.90","open":"23.92","high":"23.92","low":"23.25","volume":12933,"amount":30386333,"code":"000020","ticktime":"10:23:00"},{"symbol":"sz000021","name":"深科技","trade":"9.01","pricechange":"-0.220","changepercent":"-2.384","buy":"9.01","sell":"9.02","settlement":"9.23","open":"9.14","high":"9.15","low":"8.95","volume":107517,"amount":97250339,"code":"000021","ticktime":"10:23:00"},{"symbol":"sz000022","name":"深赤湾Ａ","trade":"16.75","pricechange":"-0.430","changepercent":"-2.503","buy":"16.74","sell":"16.75","settlement":"17.18","open":"17.13","high":"17.13","low":"16.60","volume":15530,"amount":26121054,"code":"000022","ticktime":"10:23:00"},{"symbol":"sz000023","name":"深天地Ａ","trade":"0.00","pricechange":"0.000","changepercent":"0.000","buy":"0.00","sell":"0.00","settlement":"30.53","open":"0.00","high":"0.00","low":"0","volume":0,"amount":0,"code":"000023","ticktime":"10:23:00"}]
     */

    private ResultBean result;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private String totalCount;
        private String page;
        private String num;
        /**
         * symbol : sz000001//代码
         * name : 平安银行  //名称
         * trade : 10.61  //最新价
         * pricechange : -0.030    //涨跌额
         * changepercent : -0.282   //涨跌幅
         * buy : 10.61  //买入
         * sell : 10.62    //卖出
         * settlement : 10.64  //昨收
         * open : 10.62  //今开
         * high : 10.69  //最高
         * low : 10.60  //最低
         * volume : 98484  //成交量
         * amount : 104836697  //成交额
         * code : 000001  //简码
         * ticktime : 10:23:00  //时间
         */

        private List<DataBean> data;

        public String getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(String totalCount) {
            this.totalCount = totalCount;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            private String symbol;
            private String name;
            private String trade;
            private String pricechange;
            private String changepercent;
            private String buy;
            private String sell;
            private String settlement;
            private String open;
            private String high;
            private String low;
            private int volume;
            private int amount;
            private String code;
            private String ticktime;

            public String getSymbol() {
                return symbol;
            }

            public void setSymbol(String symbol) {
                this.symbol = symbol;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTrade() {
                return trade;
            }

            public void setTrade(String trade) {
                this.trade = trade;
            }

            public String getPricechange() {
                return pricechange;
            }

            public void setPricechange(String pricechange) {
                this.pricechange = pricechange;
            }

            public String getChangepercent() {
                return changepercent;
            }

            public void setChangepercent(String changepercent) {
                this.changepercent = changepercent;
            }

            public String getBuy() {
                return buy;
            }

            public void setBuy(String buy) {
                this.buy = buy;
            }

            public String getSell() {
                return sell;
            }

            public void setSell(String sell) {
                this.sell = sell;
            }

            public String getSettlement() {
                return settlement;
            }

            public void setSettlement(String settlement) {
                this.settlement = settlement;
            }

            public String getOpen() {
                return open;
            }

            public void setOpen(String open) {
                this.open = open;
            }

            public String getHigh() {
                return high;
            }

            public void setHigh(String high) {
                this.high = high;
            }

            public String getLow() {
                return low;
            }

            public void setLow(String low) {
                this.low = low;
            }

            public int getVolume() {
                return volume;
            }

            public void setVolume(int volume) {
                this.volume = volume;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getTicktime() {
                return ticktime;
            }

            public void setTicktime(String ticktime) {
                this.ticktime = ticktime;
            }
        }
    }
}
